package com.yuwei.provider;

import com.yuwei.common.service.UserService;
import com.yuwei.provider.Impl.UserServiceImpl;
import com.yuwei.yurpc.registry.LocalRegistry;
import com.yuwei.yurpc.server.VertxHttpServer;

/**
 * 用户服务
 *
 * @author yuwei
 * @date 12:39 2024/10/3
 */
public class EasyProviderExample {
    public static void main(String[] args) {
        LocalRegistry.register(UserService.class.getName(), UserServiceImpl.class);
        VertxHttpServer server = new VertxHttpServer();
        server.doStart(8888);
    }
}
